//
//  YLMallIconHeader.m
//  YLFinanceService
//
//  Created by she1323 on 2017/9/5.
//  Copyright © 2017年 she1323. All rights reserved.
//  

#import "YLMallIconHeader.h"
#import <Masonry.h>
@implementation YLMallIconHeader

- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        
        __weak typeof(self) weakSelf = self;
        UIImageView *imageView = [[UIImageView alloc] init];
        imageView.backgroundColor = [UIColor whiteColor];
        [self addSubview:imageView];
        [imageView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.right.left.bottom.mas_equalTo(weakSelf);
        }];
        imageView.image = [UIImage imageNamed:@"mallHeader"];
    }
    return self;
}

+ (NSString *)headerID
{
    return @"YLMallIconHeader";
}

@end
